home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / PlayerPRO 4.5.8 / PlayerPRO 4.5.8 Dev.Kit / Plug-Ins / Music Import⁄Export Plugs / MOD.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-05  |  643 b   |  41 lines  |  [TEXT/CWIE]

  1. #if defined(powerc) || defined(__powerc)
  2. #pragma options align=mac68k
  3. #endif
  4.  
  5. #define MAXPTRS 128
  6.  
  7. struct MODCom
  8. {
  9.     Byte    a,b,c,d;
  10. };
  11.  
  12. struct MODPat
  13. {
  14.     struct MODCom Commands[64][4];
  15. };
  16.  
  17. struct FileInstrDataz
  18. {
  19.     char Filename[22];
  20.     unsigned short numWords;
  21.     Byte fineTune;
  22.     Byte volume;
  23.     unsigned short loopWord;
  24.     unsigned short loopWords;
  25. };
  26.  
  27. struct MODDef
  28. {
  29.     char NameSignature[ 20];
  30.     struct FileInstrDataz fid[ 31];
  31.     Byte numPointers;
  32.     Byte maxPointers;
  33.     Byte oPointers[ MAXPTRS];
  34.     long longFmtSignature;
  35.     struct MODPat patterns[];
  36. };
  37. typedef struct MODDef MODDef;
  38.  
  39. #if defined(powerc) || defined(__powerc)
  40. #pragma options align=reset
  41. #endif